package simpleGeom;

import java.util.Vector;

public class WingedNode extends Vec3D{
WingedEdge edge;

Vector<WingedEdge> getEdges(){
	Vector<WingedEdge> edges=new Vector<WingedEdge>();
	WingedEdge we=edge;
	WingedEdge nextEdge=we;
	do{
		edges.add(nextEdge);
		if (nextEdge.n1==this){
			nextEdge=nextEdge.leftPrev;
		}
		else{
			nextEdge=nextEdge.rightNext;
		}
	}while (nextEdge!=we);
	return edges;
}

}
